package cn.maxhou.sl1.test;

import cn.maxhou.sl1.entity.Pet;
import cn.maxhou.sl1.service.PetService;
import cn.maxhou.sl1.service.impl.PetServiceImpl;

public class Main {
    public static void main(String[] args) {
        //创建PetService
        PetService petService = new PetServiceImpl();
        Pet pet = new Pet();
        pet.setName("小马喽");
        petService.save(pet);
    }
}
